package com.cloud.zhimao.system.user.service;


import com.cloud.zhimao.common.base.service.IBaseService;
import com.cloud.zhimao.system.user.pojo.entity.User;
import com.cloud.zhimao.system.user.pojo.vo.UserInfoVO;
import com.qq.connect.javabeans.AccessToken;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * @author Long
 */
public interface UserService extends IBaseService<User, Long> {

    UserInfoVO loginByQQ(HttpServletRequest req, HttpServletResponse res);

    User queryByOpenID(User user);

    UserInfoVO getByUser(User user);

    void setToekn(HttpServletResponse res, User user);

}
